package com.hgc.consumerrabbit.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

@Mapper
public interface producerMapper {

    @Insert("insert into producer(ip,data,sendTime) values(#{ip},#{data},#{date})")
    public void insert(String ip, String data, Date date);

}
